home *** CD-ROM | disk | FTP | other *** search
Makefile | 1996-02-13 | 1.7 KB | 101 lines |
- # Makefile for project:
- #
- # This file was automatically generated by Project Editor
- # (C) 1995 by Thomas Baier.
- #
- # Unregistered version
- #
- # Do not edit this file manually!
-
- # Variable section
- CC = gcc
- CPP = $(CC) -E
- AR = ar
- MAKE = make
- TOUCH = touch
- RM = rm -f
- STRIP = emxbind -s
- BIND = emxbind -ep
- RC = rc -r
-
- CFLAGS = -O2
- LFLAGS = -O2
-
- # Default rules for C and Objective C source code and resource definition files
- .SUFFIXES: .h .m .c .rc .res $(OBJ) $(EXE)
-
- .c.o:
- $(CC) -c $(CFLAGS) $<
-
- .m.o:
- $(CC) -c $(CFLAGS) $<
-
- .rc.res:
- $(RC) $<
-
- # Project settings
- MTLFLAG =
- DLLLFLAG =
-
- EXEFILE = textview.exe
-
- LIBS = -lobjcpm -lobjcutil -lobjc
-
- ADDLIBS =
-
- CLASSES = Main.o \
- Controller.o
-
- OTHERS = Textview.res
-
-
- # Local compilation rules
- all: $(EXEFILE)
-
- debug:
- $(MAKE) "CFLAGS=-g" "LFLAGS=-g" debug.exe
-
- $(EXEFILE): $(CLASSES) $(OTHERS)
- $(CC) -o $(EXEFILE) $(CLASSES) $(OTHERS) $(LIBS) $(ADDLIBS) \
- $(LFLAGS) $(MTLFLAG) $(DLLLFLAG)
- $(BIND) $(EXEFILE)
- $(STRIP) $(EXEFILE)
-
- debug.exe: $(CLASSES) $(OTHERS)
- $(CC) -o debug.exe $(CLASSES) $(OTHERS) $(LIBS) $(ADDLIBS) \
- $(LFLAGS) $(MTLFLAG) $(DLLLFLAG)
- $(BIND) debug.exe
-
-
- # Other targets
- clean:
- $(RM) $(CLASSES) $(OTHERS)
- $(RM) $(EXEFILE) debug.exe
- $(RM) *~
- $(RM) core
-
- # End of Makefile for project
-
- # Project:
- # -------
- #
- #
- # Project directory: D:\Development\samples\Textview.prj\
- # -----------------
- #
- # Header files:
- # ------------
- # Controller.h
- #
- # Implementation files:
- # --------------------
- # Main.m
- # Controller.m
- #
- # C source code files:
- # -------------------
- #
- # Resource scripts:
- # ----------------
- # Textview.rc
-